package cn.neusoft.neusoft_fz.mapper;

import cn.neusoft.neusoft_fz.entity.DeliveryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Task;

import java.util.List;

@Mapper
public interface DeliveryMapper extends BaseMapper<DeliveryEntity> {
    List<DeliveryEntity> selectDeliveryEntities();
    List<DeliveryEntity> selectDeliveryEntitiesBySubid(@Param("subid")String subid);
    List<Task> selectTaskInFz(@Param("subid") String subid);

    List<DeliveryEntity> selectDeliveryEntitiesByDpid(@Param("dpid") String id);
}
